package com.grpaoedu.ioc.controller;

import com.grpaoedu.ioc.bean.User;
import com.grpaoedu.ioc.service.UserService;

/**
 * @author LittleDesire
 * @description
 * @date 2022-03-28 周一 21:04
 * @since 17
 */
public class UserController {
    private UserService userService;
    public User queryUser() {
        System.out.println("控制层。。");
        return userService.getUser();
    }

    public void setUserService(UserService userService) {
        this.userService = userService;
    }
}

